package com.baomidou.hibernate.po;

import com.baomidou.hibernate.model.AutoPrimaryKey;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * Created by feilin on 2017/7/28.
 * 当前位置信息
 */
@Entity
@Table(name = "D_WL_GIS")
@SequenceGenerator(name = "sequence", sequenceName = "S_D_WL_GIS", allocationSize = 1)
public class Point extends AutoPrimaryKey {

    private static final long serialVersionUID = 1L;

    private double gisX;
    private double gisY;
    private Date time;
    private String tip;

    @Column(name = "GIS_X")
    public double getGisX() {
        return gisX;
    }

    public void setGisX(double gisX) {
        this.gisX = gisX;
    }

    @Column(name = "GIS_Y")
    public double getGisY() {
        return gisY;
    }

    public void setGisY(double gisY) {
        this.gisY = gisY;
    }

    @Column(name = "TIME")
    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    @Column(name = "TIP")
    public String getTip() {
        return tip;
    }

    public void setTip(String tip) {
        this.tip = tip;
    }
}
